
public class Customer {
	
	String firstName;
	String lastName;
	String creditCardType;
	
	
	void displayInfo(){
		System.out.println("First Name : " + firstName);
		System.out.println("Last Name : " + lastName);
		System.out.println("The credit card is " + creditCardType);
	}
	
	String displaycategory(String features){
	
	switch(features){
	case "1":
		System.out.println("Category : New Arrivals");
		break;
	case "2":
		System.out.println("Category : Men");
		break;
	case "3":
		System.out.println("Category : Kids");
		break;
	case "4":
	    System.out.println("Category : Sale");
	    break;
	    default :
	    	System.out.println("Error..nothing to show");
	    break; 
	}
	return features;
	}
	
    public boolean isEligibleForDiscount(String customerType,boolean isMember)
    {
    	if(customerType.equals("student") || isMember)
    	{
    		System.out.println("This customer is eligible for discount");
    		return true;
    	}
    	else{
    		System.out.println("This customer is not eligible for discount");
    		return false;
    	}
    }
    
    
    
}